import axios from "../request";
// 登录
export const loginFun = (obj) => {
    let { uid, pwd } = obj
    return axios({
        method: 'post',
        url: `/test/loginDo?account=${uid}&password=${pwd}`,
    })
}
// 退出登录
export const loginOut=()=>{
    return axios({
        method:"post",
        url:"/test/logout"
    })
}